package main

import "fmt"

func main() {
	ch := make(chan int, 3)
	ch <- 1
	ch <- 2
	fmt.Println("cap(ch) = ", cap(ch))
	fmt.Println("len(ch) = ", len(ch))
	fmt.Println("<-ch = ", <-ch)
	fmt.Println("len(ch) = ", len(ch))
}
